/*
# -- BEGIN LICENSE BLOCK ---------------------------------------
#
# This file is part of Dotclear 2.
#
# Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear
# Licensed under the GPL version 2.0 license.
# See LICENSE file or
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK -----------------------------------------
*/

/* ------------------------------------------------------------------ html */
body {
	font: 75%/1.5em Helvetica,Arial,sans-serif;
	color: #333;
	background: #f5f5f5;
	margin: 0;
	padding: 0;
}
body.auth {
	background: #fff;
}

a, a:link, a:visited {
	color: #2373A8;
	text-decoration: none;
	border-bottom: 1px dotted #f90;
}
a:hover, a:active, a:focus {
	text-decoration: underline;
}
a img, a:link img, a:visited img { 
	border:none;
}

h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;
	margin-bottom: 0.6em;
}
h2 {
	color: #666;
	font-size: 1.4em;
	padding: 4px 0;
}
.page-title {
	color: #d30e60;
}
h3 {
	color: #333;
	font-size: 1.2em;
}
p, div.p {
	margin: 0 0 1em 0;
}
hr {
	height: 1px;
	border-width: 1px 0 0 0;
	border-color: #999;
	border-style: solid;
}
pre, code {
	font: 100% "Andale Mono","Courier New",monospace;
}
pre {
	white-space: pre;
	white-space: -moz-pre-wrap;
	white-space: -hp-pre-wrap;
	white-space: -o-pre-wrap;
	white-space: -pre-wrap;
	white-space: pre-wrap;
	white-space: pre-line;
	word-wrap: break-word;
}
abbr {
	cursor: help;
}

/* LAYOUT
-------------------------------------------------------- */
/* header */
#header {
	background: #575859;
	height: 3em;
	position: relative;
}
#prelude {
	background: #575859;
	line-height: 1.5em;
	margin: 0;
	padding: 0 1.7em 0 1em;
	overflow: hidden;
	position: absolute;
	top: 1.2em;
	left: 0;
	}
#prelude li {
	list-style-type: none;
	margin: 0 1em 0 0;
	background:transparent;
	}
#prelude li a {
	color:#fff;
	}
#top {
	margin: 0;
	padding: 0;
	width: 13em;
	float: left;
}
#top h1 {
	padding: 0;
	margin: 0;
	height: 3em;
	text-indent: -1000px;
	background: transparent url(dc_logo.png) no-repeat 0 50%;
}
#top h1 a {
	position: absolute;
	top: 3px;
	left: 0;
	width: 130px;
	height: 60px;
	border: none;
	outline: none;
	color: #fff;
}
#info-boxes {
	background: #575859;
	font-size: .95em;
	height: 3em;
}
#info-box1 {
	margin: 0;
	padding: .5em 3px 4px 0;
	color: #fff;
	float: left;
	background: #575859;
}
#info-box2 {
	margin: .1em 0 0 0;
	padding: .5em 1.3em 4px 0;
	color: #fff;
	float: right;
	text-align: right;
	background: #575859;
	height: 2em;
}
#info-box1 select {
	width: 15em;
}
#info-box1 a img, #info-box2 a img {
	vertical-align: middle;
	padding-left: .3em;
	}
#info-box1 a, #info-box2 a {
	background: #575859;
	font-weight: bold;
	color: #fff;
	border-bottom-color: #ccc;
	margin-left: .3em;
	margin-right: .3em;
	white-space: nowrap;
	font-weight: normal;
}
#info-box1 a {
	margin-left: 1.33em;
}
#info-box2 a.active {
	border-bottom-color: #f5f5f5;
	margin: 0;
	padding: 1.2em .5em;
	background-color: #f5f5f5;
	color: #333;
	font-weight: bold;
}
#info-box2 span {
	color: #575859;
}
/* prelude */
#wrapper {
	width: 100%;
}
#main {
	width: 100%;
	float: right;
	margin-left: -13em;
	margin-top: 0;
}
#content {
	margin: 1.5em 1.5em 1.5em 13em;
	height: 80%;
	padding: 1em;
	background: #fff;
	-webkit-border-radius: .5em;
	-moz-border-radius: .5em;
	border-radius: .5em;
	border: 1px solid #ddd;
}

.fifty {
	width: 50%;
	float: left;
}

.hundred {
	width: 100%;
	float: left;
}

.portlet {
	border: 1px solid #0F3974;
	margin: 15px;
}

.portlet h3 {
	background: #575859;
	color: #FFFFFF;
}

.portlet .button {
  float: right;
  position: relative;
  right: 20px;
}




	/* Micro clearfix thx to Nicolas Gallagher */
	#content:before, #content:after {content:"";display:table;}
	#content:after {clear:both;}
/* -------------------------------------------------- layout - multipart */
.three-cols {
}
.three-cols .col {
	width: 32.3%;
	float: left;
	margin-left: 1%;
}
.three-cols .col:first-child {
	width: 33.3%;
	margin-left: 0;
}
.two-cols {
	position: static;
}
.two-cols .col {
	width: 49%;
	margin-left: 2%;
	float: left;
}
.two-cols .col:first-child {
	width: 49%;
	margin-left: 0;
}
.two-cols .col70{
	width: 69%;
	margin-left: 0;
	float: left;
}
.two-cols .col30 {
	width: 28%;
	margin-left: 2%;
	float: left;
}
/* -------------------------------------------------------------- layout - onglets */
.part-tabs ul {
	padding: .3em 0 1px 1em;
	border-bottom: 1px solid #999;
}
.part-tabs li {
	list-style: none;
	margin: 0;
	display: inline;
}
.part-tabs li a {
	padding: .3em 0.5em;
	margin-right: .5em;
	border: 1px solid #999;
	border-bottom: none;
	background: #dfdfdf;
	text-decoration: none;
	-webkit-border-top-left-radius: .3em;
	-webkit-border-top-right-radius: .3em;
	-moz-border-radius-topleft: .3em;
	-moz-border-radius-topright: .3em;
	border-top-left-radius: .3em;
	border-top-right-radius: .3em;
	color: #000;
}
.part-tabs li.part-tabs-link a {
	background: #ffe;
}
.part-tabs li a:hover, .part-tabs li a:focus {
	color: #000;
	background: #fff;
	border-bottom-color: #fff;
}
.part-tabs li.part-tabs-active a {
	background: #fff;
	border-bottom: 1px solid #fff;
	color: #000;
	font-weight: bold;
}
/* ------------------------------------------------------------------ main-menu */
#main-menu {
	width: 13em;
	float: left;
	margin-top: 1.2em;
	margin-bottom: 1em;
}
#main-menu h3 {
	margin: 0 0 0.5em;
	padding: .5em 0 0 .5em;
	text-transform: uppercase;
	color: #666;
	font-size: 1.1em;
}
#main-menu ul {
	font-size: .95em;
	margin: 0 0 1em 0;
	padding: 0;
	list-style: none;
}
#main-menu li {
	display: block;
	margin: 0.5em 0 0;
	padding: .2em 0 0 32px;
	background-repeat: no-repeat;
	background-position: 12px .2em;
}
#main-menu a {
	font-weight: bold;
}
#main-menu .active a {
	border-bottom: none;
	color: #333;
}
#main-menu .active {
	background-color: #fff;
	padding: .4em 0 .1em 32px;
	background-position: 12px .4em;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin-right: -1px;
}
#favorites-menu {
	margin: 0 0 2em;
}
#favorites-menu h3 {
	color: #333;
	text-transform: none;
}
#favorites-menu a {
	color: #333;
}
#favorites-menu .active {
	background-color: transparent;
	border: none;
}
#favorites-menu .active a {
	font-weight: bold;
	color: #666;
}
/* ------------------------------------------------------------------ footer */
#footer {
	clear: both;
	padding: .75em 2em;
	margin: 6em 15px .5em 15px;
	-webkit-border-radius: .3em;
	-moz-border-radius: .3em;
	border-radius: .3em;
	background: #575859 url(dc_logo_small.png) no-repeat right bottom;
	color: #fff;
}
#footer p {
	margin: 0;
	padding: 0 1em;
	text-align: center;
	font-size: 1.1em;
}
#footer a {
	color: #f5f5f5;
}
#footer p span.credit {
	font-size: .85em;
	font-weight: normal;
}
/* ---------------------------------------------------------------------------- auth.php */
#login-screen {
	display: block;
	width: 18em;
	margin: 1.5em auto 0;
	font-size: 1.1em;
}
#login-screen h1 {
	text-indent: -2000px;
	background: transparent url(dotclear-logo2.png) no-repeat top left;
	height: 50px;
	margin-bottom: .5em;
	margin-left: .5em;
}
#login-screen fieldset, #login-screen .fieldset {
	border: 1px solid #999;
	padding: 1em 1em 0 1em;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
#login-screen input[type=text], #login-screen input[type=password], #login-screen input[type=submit] {
	width: 100%;
}
#login-screen #issue {
	margin-left: 1em;
	font-size: 1em;
}
#login-screen #issue strong {font-weight: normal;}


/* ------------------------------------------------------------------ dashboard */
#dashboard-main {
	float: left;
	overflow: hidden;
	padding: 1em 2% 1em 0;
	width: 70%;
}
#dashboard-main.fullwidth {
	width: 100%;
	padding: 1em 0;
	float: none;
}
#icons {
	overflow: hidden;
	padding-bottom: 1em;
	text-align: center;
}
#icons p {
	width: 210px;
	text-align: center;
	margin: 2em 0 0 0;
	display:inline-block;
}
#icons a,
#icons a:link,
#icons a:visited,
#icons a:hover,
#icons a:focus {
	border-bottom-width: 0px;
	text-decoration: none;
}
#icons a span {
	border-bottom: 1px dotted #f90;
}
#icons a:focus span, #icons a:hover span {
	text-decoration: underline;
}
#quick {
	clear: left;
	margin-top: 2em;
}
#quick h3 {
	margin-bottom: 0.2em;
	font-size: 1.2em;
}
#quick p.qinfo {
	margin: -.7em -1em 1em;
	background: #eef url(info.png) no-repeat .2em .2em;
	border: 1px solid #99f;
	padding: .2em 1em .1em 24px;
	color: #666;
}
#dashboard-items {
	float: left;
	width: 27%;
	overflow: hidden;
	padding-bottom: 1em;
	padding-top: 3em;
}
#dashboard-items img {
	vertical-align: middle;
}
#dashboard-items ul {
	display: block;
	padding-left: 1.5em;
	list-style: square;
}
#dashboard-items li {
	margin: 0.25em 0 0 0;
	color: #666;
}
#news dt {
	font-weight: bold;
	margin: 0 0 0.4em 0;
}
#news dd {
	margin: 0 0 1em 0;
}
#news dd p {
	margin: 0.2em 0 0 0;
}

#upg-notify {
}
#upg-notify ul {
	padding-left: 15px;
}
#upg-notify li {
	color: #fff;
}
/* ------------------------------------------------------------------ post */
#entry-wrapper {
	float: left;
	width: 100%;
	margin-right: -18em;
}
#entry-content {
	margin-right: 18em;
}
#entry-sidebar {
	width: 17em;
	float: right;
}
#comments {
	clear: both;
}
/* ------------------------------------------------------------------ categories */
#categories {
	margin: 1em 0 2em;
}
#categories ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#categories li {
	margin: .5em 0;
	padding: .3em 1.5em;
	border: 1px solid #ccc;
	border-left: 1em solid #E5E3DA;
	-moz-border-radius: .3em;
	-webkit-border-radius: .3em;
	border-radius: .3em;
}
#categories h4 {
	margin: 0;
}
#categories h4 span {
	font-weight: normal;
}
#categories li p {
	margin: 0;
}
select#del_cat {
	width: 100%;
}
/* ------------------------------------------------------------------ media */
#media-icon {
	float: left;
}
#media-details {
	margin-left: 70px;
}
#media-details ul {
	display: block;
	margin-left: 0;
	padding: 0;
}
#media-details li {
	list-style: square inside;
	margin: 0;
	padding: 0;
}
#media-original-image {
	overflow: auto;
}
#media-original-image.overheight {
	height: 500px;
}
#add-file-f {
	position: relative;
}
#add-file-f .more-file {
	position:absolute;
	right: 0.5em;
	background: #999;
	color: #fff;
	border: none;
}
.media-list {
	position: static;
}
.media-col-0 {
	clear: left;
}
.media-item {
	position: relative;
	border-top: 1px solid #ccc;
	margin-bottom: 1em;
	padding: 5px 0;
}
div.media-list .media-item {
	width: 49%;
	float: left;
	margin-right: 1%;
}
a.media-icon {
	display: block;
	border-bottom: none;
	float: left;
}
.media-icon img {
	display: block;
}
.media-item ul {
	display: block;
	list-style: none;
	margin: 0 0 0 60px;
	padding: 0;
}
li.media-action {
	display: block;
	position: absolute;
	top: 5px;
	right: 5px;
	height: 16px;
}
li.media-action a {
	border: none;
}
li.media-action form {
	display: inline;
}
li.media-action input {
	border: none;
}
/* ------------------------------------------------------------------ preferences */
#my-favs ul {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
	line-height: 1.2;
}
#my-favs li {
	display: block;
	float: left;
	width: 164px;
	margin-top: 1em;
	margin-bottom: 1.5em;
}
#my-favs label {height: 2.5em;width:140px;margin-top:.3em;}
#my-favs label input {display:inline;}
#my-favs img {
	display: block;
}
#my-favs input.position {
	margin: 0 0 .4em .2em;
}
#available-favs input, #available-favs label, #available-favs label span {
	white-space: normal;
	display: inline;
}
#default-favs h3 {
	margin-top: 2em;
	margin-bottom: 1em;
}
.fav-list {
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
}
.fav-list li {
	line-height: 2;
	margin-left: 0;
	padding-left: 0;
	position: relative;
}
.fav-list img {
	vertical-align: middle;
	margin-right: .2em;
}
#available-favs label span.zoom {
	display: none;
}
#available-favs li:hover label span.zoom {
	display: block;
	position: absolute;
	bottom: 0;
	left: 10em;
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	padding: .2em;
	-moz-border-radius: .5em;
	-webkit-border-radius: .5em;
	border-radius: .5em;
}
/* -------------------------------------------------------------------- Themes */
#themes {
	border-bottom: 1px solid #ccc;
	margin: 1em 0;
}
#themes div.theme-details {
	clear: left;
	border-top: 1px solid #ccc;
	padding: 1em 0;
}
#themes div.theme-details:hover {
	background: #eee;
}
#themes div.theme-details div.theme-shot {
	float: left;
}
#themes div.theme-details div.theme-shot img {
	display: block;
	width: 57px;
	height: 50px;
	border: 1px solid #ccc;
}
#themes div.theme-details div.theme-info {
	margin-left: 67px;
}
#themes div.theme-details div.theme-info span.theme-desc {
	display: block;
}
#themes div.theme-details div.theme-info span.theme-version {
	color: #666;
}
#themes div.theme-details div.theme-actions {
	margin-left: 67px;
}
/* Themes list, JS version */
#themes-wrapper {
}
#theme-box {
	border: 1px solid #999;
	border-left: none;
	padding: 5px;
	float: right;
	height: 420px;
	width: 320px;
	overflow: auto;
}
#theme-box div.theme-shot img {
	display: block;
	margin: 0 0 0 10px;
	width: 280px;
	height: 245px;
	border: 1px solid #ccc;
}
#theme-box div.theme-info {
	margin: 1em 0 0 10px;
}
#theme-box h3 {
	margin: 0;
}
#theme-box div.theme-info span {
	display: block;
}
#theme-box span.theme-version {
	color: #666;
}
#theme-box span.theme-parent-ok {
	color: #666;
}
#theme-box span.theme-parent-missing {
	color: #c00;
	font-weight:bold;
}
#theme-box div.theme-actions {
	margin-left: 10px;
}
#themes-wrapper #themes {
	border: 1px solid #999;
	overflow: auto;
	height: 420px;
	padding: 5px;
	margin: 0;
}
#themes div.theme-details-js {
	float: left;
	width: 120px;
	height: 150px;
	margin: 0 10px 20px;
	padding: 10px 10px 0;
	text-align: center;
	background: #f3f3f3;
	border: 1px solid #f3f3f3;
	cursor: pointer;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
#themes div.theme-details-js label {
	cursor: pointer;
}
#themes div.theme-details-js.theme-selected {
	background: #E5E3DA;
	border: 1px solid #999;
}
#themes div.theme-details-js div.theme-shot img {
	width: 120px;
	height: 105px;
	border: 1px solid #fff;
}
#themes div.theme-details-js h3 {
	font-family: inherit;
	font-weight: normal;
	margin: 0;
	padding: 0;
}
/* ----------------------------------------------------------  Plugins list */
#plugins td.action {
	vertical-align: middle;
}

select.l10n option {
	padding-left: 16px;
}
option.avail10n {
	background: transparent url(../images/check-on.png) no-repeat 0 50%;
}
/* ------------------------------------------------------------------ contextual help */
#help {
	margin-top: 2em;
	background: #f5f5f5;
	z-index: 100;
}
#help-button {
	position: absolute;
	top: 6.2em;
	right: 0px;
	cursor: pointer;
	background: #fc3;
	border: 1px solid #dde;
	border-right: none;
	font-size: 1.1em;
	font-weight: bold;
	text-transform: capitalize;
	padding: .33em .75em .33em 1em;
	-moz-border-radius: 1em 0 0 1em;
	-webkit-border-top-left-radius: 1em;
	-webkit-border-bottom-left-radius: 1em;
	color: #444;
}
.help-box {
	display: none;
}
.help-box ul {
	padding-left: 20px;
	margin-left: 0;
}
#content.with-help #help-button {
	right: 282px;
}
#content.with-help #help {
	display: block;
	position: absolute;
	top: 40px;
	right: 0;
	width: 280px;
	border-left: 2px solid #fc3;
	margin-top: 0;
	padding: 10px 0 0 0;
	overflow: auto;
}
#content.with-help .help-content {
	padding: 0 5px 1em 5px;
}
.help-content dt {
	font-weight: bold;
	color: #626262;
	margin: 0;
}
.help-content dd {
	margin: 0.3em 0 1.5em 0;
}
/* ------------------------------------------------------------------ popups */
body.popup #wrapper, body.popup #top {
	margin-top: -1.5em;
	float: none;
}
body.popup #top h1 {
	background: transparent;
}
body.popup #main {
	margin-left: -35px;
	margin-bottom: 1em;
}
body.popup #content {
	margin-left: 35px;
	margin-left: 2em;  /* 3.2 */
}
body.popup #footer {
	display: none; /* 3.2 */
}
body.popup #footer p {
	margin-left: 35px;
	border: none;
}
/* ------------------------------------------------------------------ messages */
div.error, p.error, 
div.message, p.message, 
div.static-msg, p.static-msg {
	padding: 0.5em 0.5em 0.5em 40px;
	margin-bottom: 1em;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}
p.error, p.message, p.static-msg {
	padding-top: 1em;
	padding-bottom: 1em;
}
div.error, p.error {
	background: #e5bfbf url(msg-error.png) no-repeat 5px 5px;
	color: #600;
}
div.message, p.message, 
div.static-msg, p.static-msg {
	background: #666 url(msg-std.png) no-repeat 5px 5px;
	color: #fff;
}
div.message a, p.message a, 
div.static-msg a, p.static-msg a {
	color: #fff;
}
/* ------------------------------------------------------------------ debug */
#debug {
	position: absolute;
	top: 0;
	width: 100%;
	height: 4px;
	background: #d99;
}
#debug div {
	display: none;
	padding: 3px 0.5em 2px;
}
#debug p {
	margin: 0.5em 0;
}
#debug:hover {
	height: auto;
}
#debug:hover div {
	display: block;
}
/* -------------------------------------------------------------------- CLASSES COMMUNES */

.no-margin {
	margin: 0;
}

/* paragraphe pour bouton Nouveau bidule */
p.top-add {
	text-align: right;
	margin: 0;
	}
p.top-add a {
	padding: .3em 1em .3em .5em;
	font-weight: bold;
}
p.top-add a img {
	padding-right: .3em;
	vertical-align: middle;
}
/* Si quelque chose a besoin d'être caché sauf pour les revues d'écran */
.hidden {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
    }
.clear {
	clear: both;
}
.lclear {
	clear: left;
}
div.clearer {
	height: 1px;
	font-size: 1px;
}
.hide {
	display: none;
}
.right {
	text-align: right;
}
.frame-shrink {
	border: 1px solid #666;
	padding: 0.5em;
	margin-bottom: 1em;
	height: 120px;
	overflow: auto;
}
.grid {
	background: transparent repeat url('grid.png') 0 0;
}
.line p {
	margin: 0;
}
.offline {
	color: #666;
}
ul.nice {
	margin: 1em 0;
	padding: 0 0 0 2em;
	list-style: square;
}
ul.nice li {
	margin:0;
	padding: 0;
}
.zip-dl {
	background: transparent url(package.png) no-repeat 0 50%;
	padding: 5px 0 5px 20px;
}
/* pas trouvé dans le code */
.comment {
	border-top: 2px solid #ccc;
	margin-bottom: 1em;
	padding: 2em 0 1em 0;
	position: relative;
}
.comment form p {
	margin: 0;
	position: absolute;
	top: 2px;
	right: 0;
}
/* TABLES
-------------------------------------------------------- */
table {
	font-size: 1em;
	border-collapse: collapse;
	margin: 0 0 1em 0;
}
tr.line:hover {
	background: #ddd;
}
caption {
	color: #333;
	font-size: 1.2em;
	font-weight: bold;
	text-align: left;
	margin-bottom: .5em;
}

th, td {
	border-width: 0 0 1px 0;
	border-style: solid;
	border-color: #ccc;
	padding: 3px 5px;
	vertical-align: top;
}
th {
	text-align: left;
	border-bottom-color: #666;
}
.noborder td, td.noborder, .noborder th, th.noborder {
	border-width: 0;
}
table .maximal, table.maximal {
	width: 100%;
}
table .minimal {
	width: 1px;
}
table .nowrap {
	white-space: nowrap;
	vertical-align: top;
}
td.status {
	vertical-align: middle;
}
td.status img {
	margin-bottom: -2px;
}
td.status a {
	border: none;
}

tr.line img.expand {
	margin-right: 10px;
	margin-bottom: -2px;
}
tr.line input {
	vertical-align: middle;
}
tr.expand td {
	border-bottom: none;
}
td.expand {
	padding: 1em;
}

.dragable {
	border-collapse: separate;
}
.dragable tbody td {

}
.handle {
	padding: 0;
}
.handler {
	cursor: move;
	background: transparent url(drag.png) no-repeat 0 50%;
	padding-left: 15px;
}

/* ----------------------------------------------------------------- FORMS */
form {
	display: block;
	margin: 0;
	padding: 0;
}
fieldset, .fieldset {
	display: block;
	margin: 0 0 1em 0;
	padding: 1em 0.5em;
	border-width: 1px 0;
	border-style: solid;
	border-color: #ccc;
	background: #f5f5f5;
}
legend {
	font-weight: bold;
	padding: 0.2em 0.6em;
	border-width: 1px;
	border-style: solid;
	border-color: #ccc;
	background: #f5f5f5;
	margin-bottom: 0.5em;
}
optgroup {
	font-weight: bold;
	font-style: normal;
}
option {
	font-weight: normal;
}
input, textarea, select {
	background: #f9f9f9;
	color: #000;
	border-width: 1px;
	border-style: solid;
	border-color: #000 #ccc #ccc #000;
}
input, textarea, select, option {
	font: 1em "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;
}
input[type=text], input[type=password], textarea {
	padding: 2px 0;
	margin-right: .3em;
}
input[type=checkbox], input[type=radio] {
	border: none;
}
textarea {
	padding: 2px 0;
}

input[type=checkbox], input[type=radio] {
	margin: 0;
	padding: 0;
	background: transparent;
}
label {
	display: block;
}
label input, label select, label span {
	display: block;
}
p.form-note {
	font-style:italic;
	margin-top: -.7em;
	color: #666;
}
p.form-note.warn, p.form-note.info, p.warning {
	font-style: normal;
	padding: .2em 1em .1em 24px;
}
p.form-note.warn, p.warning {
	background: #ffd url(warning.png) no-repeat .2em .2em;
	border: 1px solid #f0c020;
}
p.form-note.info {
	background: #eef url(info.png) no-repeat .2em .2em;
	border: 1px solid #99f;
}
.form-note a {border-bottom: 1px solid #99f;}

label.classic {
	display: inline;
}
label.classic input, label span input, label.classic select, label span select {
	display: inline;
}

label.area, p.area {
	width: inherit !important;
}
.area textarea {
	display: block;
	width: 100%;
	resize: vertical;
}
label.required {
	font-weight: bold;
}
label.required abbr {
	color: #dd0000;
	font-size: 1.3em;
}
label.inline {
	display: inline;
}
p.field {
	position: relative;
	
}
p.field label {
	display: block;
	width: 14em;
}
p.field input, p.field select {
	display: inline;
	position: absolute;
	left: 15em;
	top: 0;
}
label .maximal, textarea.maximal, input.maximal {
	width: 100%;
}
textarea.maximal {
	resize: vertical;
}

a.form-control {
	display: none;
	font-weight: bold;
	background: url(magnifier.png) no-repeat 0 0;
	color: green;
	padding-left: 20px;
}
.constrained {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}

/* --------------------------------------------------------------- buttons */
h2 a.button {
	color: #333;
	font-weight: normal;
	font-size: .75em;
	vertical-align: middle;
}
/* commun */
input[type=submit],
input[type=reset],
input[type=button],
a.button,
a.back,
a.submit {
	display: inline-block;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	padding: .1em .5em 0 .5em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-border-radius: .2em;
	-moz-border-radius: .2em;
	border-radius: .2em;
	margin-bottom: .1em;
}
/* validation */
input[type=submit],
input[type=button],
a.submit {
	color: #fff;
	border: 1px solid #2373A8;
	background: #2373A8;
	background: -webkit-gradient(linear, left top, left bottom, from(#2C8FD1), to(#2373A8));
	background: -moz-linear-gradient(top,  #2C8FD1,  #2373A8);
}
input[type=submit]:hover,
input[type=button]:hover,
a.submit:hover,
input[type=submit]:focus,
input[type=button]:focus,
a.submit:focus {
	background: #2373A8;
	background: -webkit-gradient(linear, left top, left bottom, from(#2373A8), to(#2C8FD1));
	background: -moz-linear-gradient(top,  #2373A8,  #2C8FD1);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#2373A8', endColorstr='#2C8FD1');
	border: 1px solid #2C8FD1;
}
/* suppression et reset */
a.button,
a.back,
input[type=submit].reset,
input[type=submit].delete {
	border: 1px solid #ccc;
	background: #f5f5f5;
	color: #000;
	background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#dfdfdf));
	background: -moz-linear-gradient(top,  #f5f5f5,  #dfdfdf);
	text-shadow: none;
	}
a.button:hover,
a.back:hover,
input[type=reset]:hover,
input[type=submit].reset:hover,
input[type=submit].delete:hover,
a.button:focus,
a.back:focus,
input[type=reset]:focus,
input[type=submit].reset:focus,
input[type=submit].delete:focus {
	background: #dfdfdf;
	background: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#f5f5f5));
	background: -moz-linear-gradient(top,  #dfdfdf,  #f5f5f5);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5e5e5', endColorstr='#f5f5f5');
	}
a.delete,
input.delete,
input[type=submit].delete {
	color: #c00;
	padding-bottom: .1em;
}
#entry-content .delete {
	margin-left: 1em;
}
a.delete:hover,
input.delete:hover,
input[type=submit].delete:hover,
a.delete:focus,
input.delete:focus,
input[type=submit].delete:focus {
	border-color: #c00;
}
/* finasseries */
input[type=button] {
	padding: .1em;
}
#info-box a.button {
	padding: 0 .5em;
	margin-left: 2em;
}
a.back:before {
	content: "\ab\a0";
}
a.button.add {
	-webkit-border-radius: .5em;
	-moz-border-radius: .5em;
	border-radius: .5em;
	margin-bottom: .1em;	
	background: #2C8FD1 url(add.png) no-repeat 6px center;
	color: #fff;
	padding: .2em 16px .2em 30px;
	border: 1px solid #2373A8;
}
a.button.add:hover, a.button.add:focus {
	background-color: #2373A8;
}
